import Video from './video'
import TimeArea from './time-area'
import RecordTime from './record-time'
import Common from './common'

import React from 'react'

class Store {
  constructor() {
    this.video = Video
    this.timeArea = TimeArea
    this.RecordTime = RecordTime
    this.Common = Common
  }
}

const store = new Store()
const StoreCtx = React.createContext(store)

export { store, StoreCtx }
